package com.sgcc.operate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 二维码管理对象 o_qr
 * 
 * @author sgcc
 * @date 2021-03-27
 */
public class OQr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    private Date updateDate;

    /** 备注信息 */
    private String remarks;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    private String delFlag;

    /** 二维码名称 */
    @Excel(name = "二维码名称")
    private String qrName;

    /** 二维码链接 */
    @Excel(name = "二维码链接")
    private String qrLink;

    /** 二维码说明 */
    @Excel(name = "二维码说明")
    private String qrDesc;

    /** 二维码保存地址 */
    private String qrPath;

    /** 二维码发布渠道 */
    private String putChannel;

    /** $column.columnComment */
    @Excel(name = "二维码说明")
    private String orgNo;

    private String deptName;
    private String createByName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setQrName(String qrName) 
    {
        this.qrName = qrName;
    }

    public String getQrName() 
    {
        return qrName;
    }
    public void setQrLink(String qrLink) 
    {
        this.qrLink = qrLink;
    }

    public String getQrLink() 
    {
        return qrLink;
    }
    public void setQrDesc(String qrDesc) 
    {
        this.qrDesc = qrDesc;
    }

    public String getQrDesc() 
    {
        return qrDesc;
    }
    public void setQrPath(String qrPath) 
    {
        this.qrPath = qrPath;
    }

    public String getQrPath() 
    {
        return qrPath;
    }
    public void setPutChannel(String putChannel) 
    {
        this.putChannel = putChannel;
    }

    public String getPutChannel() 
    {
        return putChannel;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("qrName", getQrName())
            .append("qrLink", getQrLink())
            .append("qrDesc", getQrDesc())
            .append("qrPath", getQrPath())
            .append("putChannel", getPutChannel())
            .append("orgNo", getOrgNo())
            .toString();
    }
}
